package com.xxx.mch.domain.dto;

import com.alibaba.fastjson.annotation.JSONField;
import java.math.BigDecimal;
import javax.persistence.Column;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class DeterminationScoreTemplateDto
{
    private Integer id;

    /**
     * 名称
     */
    private String name;

    private Integer sequence;

    @JSONField (format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JSONField (format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private BigDecimal score;

    @Column (name = "parent_id")
    private Integer parentId;

    private Boolean selected;


    /**
     * 0：删除；1：可用
     */
    private Boolean status;

    private List<DeterminationScoreTemplateDto> children = new ArrayList<>();
}